package cn.kshost.zqyg.manager.mapper;

import cn.kshost.zqyg.model.dto.system.SysRoleDto;
import cn.kshost.zqyg.model.entity.system.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleMapper {
    List<SysRole> selectByPage(SysRoleDto sysRoleDto);

    void insertRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteSysRole(SysRole sysRole);
    

    List<SysRole> selectAllRole();
}
